package cn.xumaoyang.order.service;
import cn.xumaoyang.basic.service.IBaseService;
import cn.xumaoyang.basic.util.PageList;
import cn.xumaoyang.order.domain.AdoptOrder;
import cn.xumaoyang.order.query.AdoptOrderQuery;
import cn.xumaoyang.user.domain.Logininfo;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {


    //领养订单。
    String submit(Map<String, Object> params, Logininfo currentLoginInfo);

    //用户的个人订单。
    PageList<AdoptOrder> user(AdoptOrderQuery query, Logininfo currentLoginInfo);

    //管理员订单。
    PageList<AdoptOrder> admin(AdoptOrderQuery query, Logininfo currentLoginInfo);

}
